﻿using System.ComponentModel.Composition;
using System.Windows.Controls;
using ParaEditor.Desktop.Interfaces;
using ParaEditor.Infrastructure;

namespace ParaEditor.Desktop.View
{
    /// <summary>
    /// Para3085View.xaml 的交互逻辑
    /// </summary>
    [Export(ViewNames.Para3085ViewName, typeof(UserControl))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public partial class Para3085View : UserControl
    {
        public Para3085View()
        {
            InitializeComponent();
        }

        [Import]
        public IPara3085ViewModel Model
        {
            get
            {
                return DataContext as IPara3085ViewModel;
            }
            set
            {
                this.DataContext = value;
            }
        }
    }
}
